package com.wang.concurrency;

public class Account3 {

	private ThreadLocal<Long> balance = new ThreadLocal<>();

	
	public Account3(Long balance) {
		this.balance.set(balance);
	}

	public Long getBalance() {
		return balance.get();
	}

	public void setBalance(Long balance) {
		this.balance.set(balance);
	}
	
	
	
	
	
	
}
